* {
    margin: 0;
    padding: 0;
}
a{
    color: #000;
    text-decoration: none;
}

.clear:after {
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.body {
    color: #333;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, Tahoma, Arial, 'Microsoft Yahei', 'PingFang SC', 'Hiragino Sans GB', 'WenQuanYi Micro Hei', sans-serif;
}

.header {
    position: relative;
    border-bottom: 1px solid #00eef3;
    background: #fff;

    .tap-bar {
        width: 100%;
    }

    .wraper {
        margin: auto;
        width: 80%;
    }

    .pull-left,
    .pull-right {
        list-style: none;
        display: flex;
        float: left;
        padding: 13px 0px;
        font-size: 14px;

    }

    .pull-left {
        li {
            padding: 0 10px;
            border-right: 1px solid #333;
            &:hover{
                color: #00eef3;
            }
            a{
                &:hover{
                    color: #00eef3;
                }
            }
        }

        .li {
            border-right: 0px;
        }
    }

    .pull-right {
        li {
            margin-left: 10px;
            
            a{
                text-decoration: none;
                color: #000;
                &:hover{
                    color: #00eef3;
                }
            }
            &:hover{
                color: #00eef3;
            }
        }

        .cart {
            margin-left: 30px;
        }
    }


    .pull-right {
        float: right;
    }

    .tap-bar {
        background-color: #f2f2f2;
    }

    .ns-text-color {
        color: #00eef3
    }

    //中间
    .middle {
        padding-top: 30px;
        height: 120px;
        width: 1200px;
        margin: 0 auto;

        a {
            width: 215px;
            height: 70px;
            line-height: 70px;
            float: left;
            display: inline-block;
            text-align: center;

            img {
                height: auto;
                width: auto;
                max-height: 100%;
                max-width: 100%;
                display: inline-block;
            }
        }

        //线下体验店动图
        img {
            line-height: 90px;
            float: left;
            margin-left: 30px;
            width: 270px;
            height: 70px;
        }

        //搜索框
        .search-right {
            width: 500px;
            margin-left: 80px;
            position: relative;
            margin-top: 10px;
            float: left;
            display: flex;

            input {
                background: #fff;
                border-color: #EBEBEB !important;
                color: #00d7dc;

                width: 445px;
                height: 40px;
                line-height: 40px;
                padding: 0 10px;
                padding-right: 200px;
                font-size: 14px;
                border: 2px solid;
            }

            .keyword {
                padding-top: 4px;
                overflow: hidden;
                width: auto;
                position: absolute;
                right: 60px;
                top: 3.5px;

                a {
                    width: 30px;
                    height: 30px;
                    line-height: 30px;
                    margin-right: 15px;
                    font-size: 12px;
                    color: #999;
                    background: #ebebeb;
                    padding: 0 5px;
                    text-decoration: none;
                }

            }

            button {
                color: #141414;
                background: #fff !important;
                float: left;
                width: 55px;
                height: 44px;
                margin-left: -2px;
                line-height: 40px;
                border: 2px solid #ebebeb !important;
                font-size: 16px;
                text-align: center;
                padding: 0;
                border: 0;

            }
        }



    }

    //下面
    .category {
        width: 80%;
        margin: auto;
        position: relative;
        height: 40px;
        line-height: 40px;

        .all {
            text-align: center;
            display: block;
            width: 210px;
            height: 40px;
            line-height: 40px;
            font-size: 16px;
            float: left;

            .iconfont {
                font-size: 28px;
            }

            span {
                vertical-align: middle;
            }

            .all-list {
                margin-top: -2px;
                display: block;
                background-color: #969696;
                opacity: 0.9;
                width: 210px;
                // margin-left: -31px;
                color: #fff;
                display: inline-block;
                position: relative;
                z-index: 999;

                li {
                    height: 40px;
                    list-style: none;

                    span {
                        float: left;
                        margin-left: 40px;
                    }

                    i {
                        float: right;
                        margin-right: 30px;
                        font-style: normal;
                    }

                    &:hover {
                        color: #000;
                        background-color: #00eef3;
                    }
                }

            }

        }

        .ns-bg-color {
            background-color: #00eef3;
        }

        //分类列表
        .ul-list {
            float: left;
            display: flex;

            li {
                margin-top: -2px;
                margin-left: 25px;
                list-style: none;
                border-bottom: 2px solid #fff;

                &:hover {
                    border-bottom: 2px solid #00d7dc;
                    color: #00d7dc;
                    
                }
            }
        }
    }

    //商品详情
    .count {
        width: 100%;
        margin: auto;
        height: 220px;
        position: absolute;
        top: 40px;
        left: 0px;
        text-align: center;
        background-color: #fff;
        display: none;
        z-index: 999;

        .box {
            width: 160px;

            float: left;

            img {
                width: 120px;
                height: 120px;
            }

            p {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }
    }


}

//轮播图
.banner {
    width: 100%;
    height: 460px;
}

.home-hero-sub {
    width: 100%;
    margin: auto;
    padding-top: 14px;
    // display: inline-block;
    background-color: #f0f3ef;

    .home-hero-sub-wraper {
        width: 80%;
        margin: auto;
    }

    .home-hero-sub-left {
        margin-left: 0px;
        width: 212px;
        float: left;

        .sub-left {
            margin: 0;
            padding: 3px;
            list-style-type: none;
            font-size: 12px;
            text-align: center;
            background: #00eef3;
            position: relative;

            li {
                position: relative;
                float: left;
                width: 96px;
                height: 82px;
                padding: 0 3px;

                span {
                    font-size: 28px;
                    margin-top: 20px;
                    display: block;
                }

                p {
                    font-size: 16px;
                }

            }

            .li {
                position: absolute;
                width: 14px;
                height: 20px;
                z-index: 999;
                top: 76px;
                left: 96px;
                border-radius: 100%;
                border-color: #00eef3;
                background-color: #00eef3;
            }

            li:nth-child(1) {
                border-right: 2px solid #000;
            }

            li:nth-child(2) {
                border-bottom: 2px solid #000;
            }

            li:nth-child(3) {
                border-top: 2px solid #000;
                border-right: 2px solid #000;
            }
        }
    }

    //右边
    .home-hero-sub-right {
        width: 975px;
        float: right;

        ul {
            li {
                width: 315px;
                height: 170px;
                list-style: none;
                float: left;
                margin-right: 15px;

                .count {
                    padding: 15px;
                    position: relative;
                    font-size: 12px;
                    line-height: 25px;

                    span {
                        font-size: 16px;
                        line-height: 16px;
                        color: #00d7dc;
                        float: left;
                        margin-left: 5px;
                        margin-bottom: 6px;
                    }

                    a {
                        float: right;
                        text-decoration: none;
                        color: #333;
                    }

                    p {
                        width: 100%;
                        font-size: 12px;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }


                }



                &:nth-child(3) {
                    margin-right: 0;
                    background-color: #fff;

                }
            }

        }
    }

}

//热门商品推荐
.hot-commodity-recommend {
    background-color: #f0f3ef;

    .hot-wraper {
        width: 80%;
        margin: auto;

        h2 {
            margin: 0;
            font-size: 16px;
            font-weight: bold;
            line-height: 40px;
            height: 40px;
            color: #333;
            cursor: pointer;
        }

        ul {
            width: 100%;
            display: flex;
            text-align: center;

            li {

                width: 18%;
                list-style: none;
                margin-right: 2.5%;
                background-color: #fff;

                img {
                    width: 100%;
                }

                p {

                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    font-size: 14px;
                    padding: 0px 20px 0px;
                }

                span {
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    font-size: 14px;
                    color: #b0b0b0;
                    display: block;

                    padding: 0px 20px;
                }

                .cargo {
                    padding-bottom: 20px;
                }
            }
        }
    }
}

//游戏笔记本
.game-notebook {
    background-color: #f0f3ef;

    .wraper {
        width: 80%;
        margin: auto;

        h2 {
            height: 40px;
            line-height: 40px;
            font-size: 16px;
            padding-top: 20px;
        }

        .wraper-left {
            width: 240px;
            height: 538px;
            float: left;

            .top {
                margin-bottom: 15px;
                height: 385px;
            }
        }

        .wraper-right {
            width: 950px;
            height: 538px;
            margin-bottom: 15px;
            float: right;

            ul {
                width: 100%;
                display: flex;
                text-align: center;

                li {
                    width: 25%;
                    list-style: none;
                    border-right: 1px solid #ddd;
                    background-color: #fff;

                    img {
                        width: 167px;
                        height: 167px;
                    }

                    p {
                        margin-top: 30px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        padding: 0px 30px;
                    }

                    div {
                        margin-top: 10px;
                        color: #00d7dc;
                    }

                    &:nth-child(4) {
                        height: 538px;

                        p {
                            text-align: left;
                            height: 52px;
                            padding-left: 15px;
                            line-height: 52px;
                            font-size: 16px;
                            border-bottom: 1px solid #ddd;
                            margin-top: 0px;
                        }

                        .introduce {
                            height: 87px;
                            position: relative;
                            border-bottom: 1px solid #ddd;

                            img {
                                width: 67px;
                                height: 67px;
                                position: absolute;
                                left: 20px;

                            }

                            span {
                                font-size: 14px;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                text-align: right;
                                display: block;
                                margin-left: 90px;
                                width: 118px;
                                line-height: 66px;
                                color: #000;
                            }

                            &:nth-child(6) {
                                border-bottom: 0px;

                            }

                        }
                    }

                }

            }
        }
    }
}

//外设周边
.peripheral {
    @extend .game-notebook;
}

//游戏主机
.game-console {
    @extend .game-notebook;

    .wraper {

        .wraper-right {
            ul {
                background-color: #fff;

                li {
                    border-right: 0px;

                    &:nth-child(1) {
                        height: 269px;
                        border-right: 1px solid #eee;
                    }
                }
            }
        }
    }
}

//增值服务 hot-commodity-recommend
.money-serve {
    @extend .hot-commodity-recommend;

    .hot-wraper {
        ul {
            li {
                .cargo {
                    padding: 30px;
                }
            }
        }
    }
}

//热评产品
.hot-product {
    @extend .money-serve;

    .hot-wraper {
        h2{
           padding-top: 20px;
        }
        ul {
            li {
                width: 23%;

                &:nth-child(4) {
                    margin-right: 0;
                }

                .cargo {
                    p {
                        text-align: left;
                        margin-top: 30px;
                        padding: 0;
                    }

                    b {
                        margin-top: 30px;
                        width: 160px;
                        font-weight: normal;
                        text-align: left;
                        display: inline-block;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;

                    }

                    span {
                        display: inline-block;
                        text-align: left;
                        color: #00eef3;
                        padding: 0px;
                        margin-left: 3px;
                    }

                    i {
                        display: inline-block;
                        width: 2px;
                        height: 20px;
                        background-color: #eee;
                    }
                }
            }
        }
    }
}

//粉丝同城会
.fans-local {
    @extend .hot-product;

    .hot-wraper {
        ul {
            li {
                img {
                    width: 100%;
                    height: 180px;
                }

                div {
                    text-overflow: initial;
                    white-space: initial;
                    width: 100%;
                    padding: 10px 0 0px ;
                    font-size: 14px;

                }
            }
        }
    }

}
// 电竞酒店
.competitive-hotel{
    @extend .fans-local;

}
// 品牌视频专区
.video{
    
    @extend .competitive-hotel;
    padding-bottom: 40px;
    .hot-wraper{
        ul{
            li{
                
              p{
                  font-size: 12px;
                  color: #b0b0b0;
                  margin-top: 10px;
                  padding-bottom: 15px;
              }
            }
        }
    }
}
// 底部
footer{
   
    background-color: #fff;
    .wraper{
        width: 80%;
        margin: auto;
        padding-top: 15px;
       .list-module{
            display: flex;
            border-bottom: 1px solid #b0b0b0;
            li{
                text-align: center;
                list-style: none;
                width: 25%;
                height: 56px;
                line-height: 56px;
                font-size: 18px;
              
                border-right: 1px solid #b0b0b0;
                &:nth-child(5){
                    border-right:0px;
                }
            }
            
        }
        .list-word{
            display: flex;
            li{
                list-style: none;
                width: 10%;
                text-align: left;
                p{
                    margin-top: 30px;
                    margin-bottom:  40px;
                    font-size: 16px;
                }
                div{
                    font-size: 12px;
                    height: 24px;
                    line-height: 24px;
                }
                img{
                    width: 70px;
                    height: 70px;
                }
            }
        }
    }
}
// 版权信息
.copyright-info{
    width: 100%;
    background-color: #fafafa !important;
    padding: 30px 0px;
    background-color: #fff;
    .info{
        width: 80%;
        margin: auto;
        .info-left{
            float: left;
            ul{
                display: flex;
                li{
                    width: 100px;
                    padding-right: 10px;
                    border-right: 1px solid #b0b0b0;
                    list-style: none;
                    font-size: 12px;
                    text-align: center;
                    line-height: 20px;
                }
                &:nth-child(5){
                    border-right: 0px;
                }
                
            }
            p{
                font-size: 12px;
                line-height: 30px;
            }
        }
        .info-right{
            float: right;
            img{
                width: 68px;
                height: 26px;
                margin-left: 30px;
                margin-top: 10px;
                &:nth-child(4){
                    width: 92px;
                }
            }
        }  
      
    }
}
//侧边栏
.side_bar{
    width: 40px;
    height: 230px;
    position: fixed;
    right: 3%;
    top: 50%;
    margin-top: -115px;
    right: 3%;
    top: 50%;
    z-index: 999;
    display: none;
    .out{
        height: 50px;
        margin-bottom: 10px;
       font-size: 12px;
       background-color: #b7b7b7;
       text-align: center;
       letter-spacing: 2px;
       line-height: 25px;
       &.fixed{
           background-color: orangered;
       }
    }
    li{
        height: 50px;
         margin-bottom: 10px;
        font-size: 12px;
        background-color: #b7b7b7;
        text-align: center;
        letter-spacing: 2px;
        line-height: 25px;
        list-style: none;
        &.active{
            background-color: #00eef3;
        }

    }
}
